import request from '@/utils/request'

export function fetchList(query) {
  return request({
    url: '/Citys/getList',
    method: 'get',
    params: query
  })
}

export function createArticle(data) {
  return request({
    url: '/Citys/getAdd',
    method: 'post',
    data
  })
}

export function getDel(data) {
  return request({
    url: '/Citys/getDel',
    method: 'post',
    data
  })
}
//修改用户信息
export function updateArticle(data) {
  return request({
    url: '/Citys/getEdit',
    method: 'post',
    data
  })
}
//获取招标分类
export function getClist(data) {
  return request({
    url: '/Citys/getclist',
    method: 'post',
    data
  })
}

//根据id
export function getListAll(data) {
  return request({
    url: '/Citys/getListAll',
    method: 'post',
    data
  })
}